#ifndef __PWM_H_
#define __PWM_H_


#define HONG   255,0,0
#define CHENG  255,165,0
#define HUANG  255,255,0
#define LV     0,255,0
#define QING   0,255,255
#define LAN    0,0,255
#define ZI     255,0,255
#define FEN    255,105,180
#define ZONG   128,64,0
#define BAI    255,255,255
#define HUO1   127,0,0
#define HUO2   255,0,0
#define HUO3   255,255,0
#define HUO4   255,255,255

#define COLOR_TYPE1    HONG
#define COLOR_TYPE2    CHENG
#define COLOR_TYPE3    HUANG
#define COLOR_TYPE4    LV
#define COLOR_TYPE5    QING
#define COLOR_TYPE6    LAN
#define COLOR_TYPE7    ZI
#define COLOR_TYPE8    FEN
#define COLOR_TYPE9   ZONG
#define COLOR_TYPE10   BAI
#define COLOR_TYPE11   HUO1
#define COLOR_TYPE12   HUO2
#define COLOR_TYPE13   HUO3
#define COLOR_TYPE14   HUO4


void PMW_init(void);
void set_TopLight_color(uint8_t R, uint8_t G, uint8_t B, uint8_t bright2);
void set_BedLight_color(uint8_t R, uint8_t G, uint8_t B, uint8_t bright);
void set_FlameLight_color(uint8_t R, uint8_t G, uint8_t B, uint8_t bright);
#endif